package com.xiangban.xiangbanmall.dao;

import com.xiangban.xiangbanmall.model.TUserTicket;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/12/18 14:05
 */
@Repository
public interface TicketMapper {

    List<TUserTicket> listTicket(TUserTicket tUserTicket);
    void updateTicketStatusByTicketNo(Integer ticketNo);
    TUserTicket getUserTicketByTicketNo(Integer ticketNo);
    List<TUserTicket> getUserTicketByUid(Integer uid);
    void bindTicketWithUser(TUserTicket userTicket);
}
